On子句优先级仅次于from,用于内连接和外连接,写成join on的形式。比如 :
from table1 inner join table2 on table1.name=table2.name; from table1 left outer join table2 on table1.name=table2.name;